package ud12.composite;

public class Main {

	public static void main(String[] args) {
		Banda banda1 = new Banda();
		Banda banda2 = new Banda();
		Festival festi = new Festival();
		
		banda1.add(new Guitarrista("Paco de lucia"));
		banda1.add(new Trompetista("payaso"));
		banda1.add(new Guitarrista("Jimmi Jendrix"));
		
		banda2.add(new Trompetista("tuturutu"));
		banda2.add(new Trompetista("subnormalprofundo.com"));
		banda2.add(new Trompetista("oligofrenico"));
		
		festi.add(banda1);
		festi.add(banda2);
		
		festi.empiezaElFesti();
	}
}
